package com.sl.au.service;

import java.util.List;

import com.sl.au.entity.Option;
import com.sl.au.repository.OptionRepository;

public interface OptionService extends BaseService {
	OptionRepository getRepository();
    
	//获得选择项的分页
	List<Option> getOption(int start, int length, String key, String orderName, String dir);
	/**
	 * 获取分页数据
	 * @param start
	 * @param length
	 * @param key
	 * @param orderName
	 * @param dir
	 * @return
	 */
	List<Option>   getPage(int start, int length, String key ,String orderName ,String dir);
}
